import 'package:flutter_ability/framework/http/request/base_request.dart';
import 'package:flutter_ability/framework/http/response/hi_response.dart';

/// 网络请求抽象类
abstract class HiNetAdapter {
  /// get请求
  Future<HiResponse<T>> get<T>(BaseRequest request);

  /// post请求
  Future<HiResponse<T>> post<T>(BaseRequest request);

  /// delete请求
  Future<HiResponse<T>> delete<T>(BaseRequest request);
}
